package com.ffyc.cms.model;


import java.util.Date;


public class Comment {
    private Integer id;
    private String content;
    private Date commentTime;
    private User user;
    private Journalism journalism;
    private Integer state;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Journalism getJournalism() {
        return journalism;
    }

    public void setJournalism(Journalism journalism) {
        this.journalism = journalism;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}